Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

SDK tools, Platform Tools and Emulator versions added to system_report.sh #96

Merged
merged 2 commits into from
Jul 14, 2017

Conversation

koral--
Copy link
Contributor

@koral-- koral-- commented Jul 12, 2017

No description provided.

system_report.sh Outdated
else
ver_line="$(grep ^Pkg.Revision ${ANDROID_HOME}/tools/source.properties | cut -d= -f 2)" ; echo "* SDK Tools version: $ver_line"
ver_line="$(grep ^Pkg.Revision ${ANDROID_HOME}/platform-tools/source.properties | cut -d= -f 2)" ; echo "* Platform Tools version: $ver_line"
ver_line="$(grep ^Pkg.Revision ${ANDROID_HOME}/emulator/source.properties | cut -d= -f 2)" ; echo "* Emulator version: $ver_line"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the PR check for this line:

grep: /opt/android-sdk-linux/emulator/source.properties: No such file or directory
* Emulator version: 

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if possible please also make this line fail (non 0 exit code) in case of an error

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, will do.
It seems that emulator is no longer preinstalled with tools and needs to be installed explicitly by sdkmanager in Dockerfile.

make emulator, platform tools and sdk tools version checks failing if there is component found
Copy link
Contributor

@viktorbenei viktorbenei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you @koral-- !

@viktorbenei viktorbenei merged commit afa80f5 into bitrise-io:master Jul 14, 2017
@koral-- koral-- deleted the tools-report branch July 14, 2017 15:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants